package com.cabinet.web.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.ConstraintMode;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ForeignKey;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import com.cabinet.base.entity.IdEntity;



/**
 * 智能柜柜子实体
 * @author hqz
 *
 */

@Entity
@Table(name="ict_cabinet")
public class Cabinet extends IdEntity  implements Serializable{
	private static final long serialVersionUID = -6784438547869593452L;
	//柜子编号
    private String cId;
    //柜子类型
    private String cClass;
    
    private int cLatticeNum;
    //柜子所在经度
    private String cLng;
    //柜子所在纬度
    private String cLat;
    //柜子省份
    private String cProvince;
    //柜子城市
    private String cCity;
    //柜子详细区域
    private String cArea;
    //柜子是否出租 1未出租
    private Integer cMark;
    //柜子是否允许出租 1允许出租
    private Integer cCode;
    //远程控制柜子的指令码
    private String cOpenCode;
    
    private Long sellerId;
    
    //二维码路径
    private String qrCodePath;
/*    @ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="seller_id",foreignKey=@ForeignKey(value=ConstraintMode.NO_CONSTRAINT))
    private Seller seller;*/

	public String getcId() {
		return cId;
	}

	public void setcId(String cId) {
		this.cId = cId;
	}

	public String getcClass() {
		return cClass;
	}

	public void setcClass(String cClass) {
		this.cClass = cClass;
	}

	public String getcLng() {
		return cLng;
	}

	public void setcLng(String cLng) {
		this.cLng = cLng;
	}

	public String getcLat() {
		return cLat;
	}

	public void setcLat(String cLat) {
		this.cLat = cLat;
	}

	public String getcProvince() {
		return cProvince;
	}

	public void setcProvince(String cProvince) {
		this.cProvince = cProvince;
	}

	public String getcCity() {
		return cCity;
	}

	public void setcCity(String cCity) {
		this.cCity = cCity;
	}

	public String getcArea() {
		return cArea;
	}

	public void setcArea(String cArea) {
		this.cArea = cArea;
	}

	public Integer getcMark() {
		return cMark;
	}

	public void setcMark(Integer cMark) {
		this.cMark = cMark;
	}

	public Integer getcCode() {
		return cCode;
	}

	public void setcCode(Integer cCode) {
		this.cCode = cCode;
	}

	public String getcOpenCode() {
		return cOpenCode;
	}

	public void setcOpenCode(String cOpenCode) {
		this.cOpenCode = cOpenCode;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public int getcLatticeNum() {
		return cLatticeNum;
	}

	public void setcLatticeNum(int cLatticeNum) {
		this.cLatticeNum = cLatticeNum;
	}

	public String getQrCodePath() {
		return qrCodePath;
	}

	public void setQrCodePath(String qrCodePath) {
		this.qrCodePath = qrCodePath;
	}

    
    
}